<script>
import { orderStatus } from '@/constants/order'
export default {
  render () {
    // JSX 是一种语法糖：允许在 JS 中写标签，底层其实会把标签转换成虚拟DOM
    const arr = orderStatus.map(item => <li>{item.label}</li>)
    const vNode = <ul>
      {arr}
    </ul>
    console.log(vNode)
    return vNode
  }
}
</script>

<style lang="less" scoped>

</style>
